package cn.readjava.dao;

import cn.readjava.bean.UserRole;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface UserRoleDao extends JpaRepository<UserRole, Long> {

    List<UserRole> findAllByUId(long id);
}
